package com.vf.admin.client.service;

import com.vf.admin.common.entity.Result;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.ExchangeGoldDiamonds;

import java.util.List;
import java.util.Map;

public interface ExchangeGoldDiamondsService {

    List<ExchangeGoldDiamonds> page(SplitPageBean splitPage, Map<String, Object> paraMap);

    List<ExchangeGoldDiamonds> list();

    ExchangeGoldDiamonds get(Integer id);

    //新增，修改
    void saveOrUpdate(ExchangeGoldDiamonds params);

    //删除
    void del(Integer id);

    Result exchange(Integer userId, Integer id);

}
